package com.naja.event.tracking.extract.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.naja.event.tracking.extract.domain.TBaseEvent;
import com.naja.event.tracking.extract.repository.mybatis.TBaseEventDao;
import com.naja.event.tracking.extract.service.TBaseEventService;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

/**
 * 埋点基础事件(TBaseEvent)表服务实现类
 *
 * @author EasyCode
 * @since 2023-09-18 10:02:24
 */
@Service()
public class TBaseEventServiceImpl extends ServiceImpl<TBaseEventDao, TBaseEvent> implements TBaseEventService {

    @Override
    public List<TBaseEvent> listByTraceIdAndActionTimeRange(String traceId, Date actionBeginTime, Date actionEndTime) {
        return this.baseMapper.selectFinalByTraceIdAndActionTimeRange(traceId, actionBeginTime, actionEndTime);
    }
}

